package org.jeecg.modules.operations.assistant.crm.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 工单回访
 * @Author: jeecg-boot
 * @Date:   2024-06-25
 * @Version: V1.0
 */
@ApiModel(value="follow_up对象", description="工单回访")
@Data
@TableName("follow_up")
public class CrmFollowUp implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**员工*/
    @ApiModelProperty(value = "员工")
    private String createBy;
	/**回访时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "回访时间")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**问题处理*/
	@Excel(name = "问题处理", width = 15, dicCode = "problemHandling")
	@Dict(dicCode = "problemHandling")
    @ApiModelProperty(value = "问题处理")
    private Integer problemHandling;
	/**收费情况*/
	@Excel(name = "收费情况", width = 15, dicCode = "feeSituation")
	@Dict(dicCode = "feeSituation")
    @ApiModelProperty(value = "收费情况")
    private Integer feeSituation;
	/**满意程度*/
	@Excel(name = "满意程度", width = 15, dicCode = "satisfactionLevel")
	@Dict(dicCode = "satisfactionLevel")
    @ApiModelProperty(value = "满意程度")
    private Integer satisfactionLevel;
	/**回访概述*/
	@Excel(name = "回访概述", width = 15)
    @ApiModelProperty(value = "回访概述")
    private String overview;
	/**客户建议*/
	@Excel(name = "客户建议", width = 15)
    @ApiModelProperty(value = "客户建议")
    private String suggested;
	/**工单ID*/
    @ApiModelProperty(value = "工单ID")
    private String workOrderId;
}
